WCPay\WooPay\WooPay_Utilities A

Total Complexity 51
Dependencies 6
Dependents 10
Total lines 297
Lines of code 127
Logical lines of code 69
Comment lines 125
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
should_enable_woopay_on_cart_or_checkout()
A
59 9 14
should_save_platform_customer()
S
66 6 7
get_woopay_is_blocks()
S
72 4 4
encrypt_and_sign_data()
S
57 2 16
get_woopay_phone()
S
64 3 9
has_adapted_extension_installed()
S
66 3 8
get_woopay_viewport()
S
65 3 9
get_woopay_source_url()
S
65 3 9
get_woopay_url()
S
78 2 3
should_enable_woopay()
S
72 2 5
is_store_country_available()
S
66 2 8
is_country_available()
S
66 2 8
is_woopay_first_party_auth_enabled()
S
79 2 3
is_woopay_express_checkout_enabled()
S
79 2 3
get_persisted_available_countries()
S
68 2 7
get_woopay_request_signature()
S
71 1 5
is_guest_checkout_enabled()
S
78 1 3
get_woopay_rest_url()
S
78 1 3
is_woopay_email_input_enabled()
S
79 1 3